<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-JAVA: awtk.TStyleMutable类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-JAVA
   </div>
   <div id="projectbrief">AWTK JAVA API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>awtk</b></li><li class="navelem"><a class="el" href="classawtk_1_1_t_style_mutable.html">TStyleMutable</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="classawtk_1_1_t_style_mutable-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">awtk.TStyleMutable类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 awtk.TStyleMutable 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classawtk_1_1_t_style_mutable.png" usemap="#awtk.TStyleMutable_map" alt=""/>
  <map id="awtk.TStyleMutable_map" name="awtk.TStyleMutable_map">
<area href="classawtk_1_1_t_style.html" alt="awtk.TStyle" shape="rect" coords="0,0,121,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a4ac388b43a12e74d7e9e22a245c8828a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style_mutable.html#a4ac388b43a12e74d7e9e22a245c8828a">TStyleMutable</a> (long <a class="el" href="classawtk_1_1_t_style.html#ac08aa20ab5208d97816dcd57b0cbac4a">nativeObj</a>)</td></tr>
<tr class="separator:a4ac388b43a12e74d7e9e22a245c8828a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4717a4ade176803fc95a4527be956412"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style_mutable.html#a4717a4ade176803fc95a4527be956412">setName</a> (String name)</td></tr>
<tr class="separator:a4717a4ade176803fc95a4527be956412"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c8b4ac0b78822bff01a89a91d96c200"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style_mutable.html#a4c8b4ac0b78822bff01a89a91d96c200">setInt</a> (String state, String name, int val)</td></tr>
<tr class="separator:a4c8b4ac0b78822bff01a89a91d96c200"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4638378c769b3ee6ee406f5a76374ed5"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style_mutable.html#a4638378c769b3ee6ee406f5a76374ed5">getName</a> ()</td></tr>
<tr class="separator:a4638378c769b3ee6ee406f5a76374ed5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classawtk_1_1_t_style"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classawtk_1_1_t_style')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classawtk_1_1_t_style.html">awtk.TStyle</a></td></tr>
<tr class="memitem:a5df9996df9b8f2cba56501baaaeb55b5 inherit pub_methods_classawtk_1_1_t_style"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style.html#a5df9996df9b8f2cba56501baaaeb55b5">TStyle</a> (long <a class="el" href="classawtk_1_1_t_style.html#ac08aa20ab5208d97816dcd57b0cbac4a">nativeObj</a>)</td></tr>
<tr class="separator:a5df9996df9b8f2cba56501baaaeb55b5 inherit pub_methods_classawtk_1_1_t_style"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5d630a42b1a9b690bc472e9022fe854 inherit pub_methods_classawtk_1_1_t_style"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style.html#ac5d630a42b1a9b690bc472e9022fe854">notifyWidgetStateChanged</a> (TWidget widget)</td></tr>
<tr class="separator:ac5d630a42b1a9b690bc472e9022fe854 inherit pub_methods_classawtk_1_1_t_style"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3aecd4172c3cdd847fe302360115ef6e inherit pub_methods_classawtk_1_1_t_style"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style.html#a3aecd4172c3cdd847fe302360115ef6e">isValid</a> ()</td></tr>
<tr class="separator:a3aecd4172c3cdd847fe302360115ef6e inherit pub_methods_classawtk_1_1_t_style"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14da6524b9874cceedbd26efe8ba25d9 inherit pub_methods_classawtk_1_1_t_style"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style.html#a14da6524b9874cceedbd26efe8ba25d9">getInt</a> (String name, int defval)</td></tr>
<tr class="separator:a14da6524b9874cceedbd26efe8ba25d9 inherit pub_methods_classawtk_1_1_t_style"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba69441fdd45001af7c3e4075e3964b7 inherit pub_methods_classawtk_1_1_t_style"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style.html#aba69441fdd45001af7c3e4075e3964b7">getUint</a> (String name, int defval)</td></tr>
<tr class="separator:aba69441fdd45001af7c3e4075e3964b7 inherit pub_methods_classawtk_1_1_t_style"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c68825cdb51b8e44f908cbb65196451 inherit pub_methods_classawtk_1_1_t_style"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style.html#a7c68825cdb51b8e44f908cbb65196451">getStr</a> (String name, String defval)</td></tr>
<tr class="separator:a7c68825cdb51b8e44f908cbb65196451 inherit pub_methods_classawtk_1_1_t_style"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3154c455614e616bcd31698d88b7ba93 inherit pub_methods_classawtk_1_1_t_style"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style.html#a3154c455614e616bcd31698d88b7ba93">get</a> (String state, String name, <a class="el" href="classawtk_1_1_t_value.html">TValue</a> value)</td></tr>
<tr class="separator:a3154c455614e616bcd31698d88b7ba93 inherit pub_methods_classawtk_1_1_t_style"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa331d73b980ed62c80bbe6e13f1e6eed inherit pub_methods_classawtk_1_1_t_style"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style.html#aa331d73b980ed62c80bbe6e13f1e6eed">set</a> (String state, String name, <a class="el" href="classawtk_1_1_t_value.html">TValue</a> value)</td></tr>
<tr class="separator:aa331d73b980ed62c80bbe6e13f1e6eed inherit pub_methods_classawtk_1_1_t_style"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd62670fb4ed1160ae46d0438af45801 inherit pub_methods_classawtk_1_1_t_style"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style.html#afd62670fb4ed1160ae46d0438af45801">updateState</a> (<a class="el" href="classawtk_1_1_t_theme.html">TTheme</a> theme, String widget_type, String style_name, String widget_state)</td></tr>
<tr class="separator:afd62670fb4ed1160ae46d0438af45801 inherit pub_methods_classawtk_1_1_t_style"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4977c622dd54b2dcf5def212d6a4969 inherit pub_methods_classawtk_1_1_t_style"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style.html#ad4977c622dd54b2dcf5def212d6a4969">getStyleState</a> ()</td></tr>
<tr class="separator:ad4977c622dd54b2dcf5def212d6a4969 inherit pub_methods_classawtk_1_1_t_style"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8c15ad56ae4bd272a273647382f8ae9 inherit pub_methods_classawtk_1_1_t_style"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style.html#ac8c15ad56ae4bd272a273647382f8ae9">isMutable</a> ()</td></tr>
<tr class="separator:ac8c15ad56ae4bd272a273647382f8ae9 inherit pub_methods_classawtk_1_1_t_style"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a933515aa75e1ce9aef0ba5c7497fa35f inherit pub_methods_classawtk_1_1_t_style"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style.html#a933515aa75e1ce9aef0ba5c7497fa35f">getStyleType</a> ()</td></tr>
<tr class="separator:a933515aa75e1ce9aef0ba5c7497fa35f inherit pub_methods_classawtk_1_1_t_style"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a18f50b15fdd56ab0c52cff05cdc720d2"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_style_mutable.html">TStyleMutable</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style_mutable.html#a18f50b15fdd56ab0c52cff05cdc720d2">cast</a> (long <a class="el" href="classawtk_1_1_t_style.html#ac08aa20ab5208d97816dcd57b0cbac4a">nativeObj</a>)</td></tr>
<tr class="separator:a18f50b15fdd56ab0c52cff05cdc720d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a488343bf89aea803abcd23a40bc9866f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_style_mutable.html">TStyleMutable</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style_mutable.html#a488343bf89aea803abcd23a40bc9866f">cast</a> (<a class="el" href="classawtk_1_1_t_style.html">TStyle</a> s)</td></tr>
<tr class="separator:a488343bf89aea803abcd23a40bc9866f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5985f878519aaddb754e0bcf2dab47a1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_style.html">TStyle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style_mutable.html#a5985f878519aaddb754e0bcf2dab47a1">create</a> (<a class="el" href="classawtk_1_1_t_style.html">TStyle</a> default_style)</td></tr>
<tr class="separator:a5985f878519aaddb754e0bcf2dab47a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_attribs_classawtk_1_1_t_style"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classawtk_1_1_t_style')"><img src="closed.png" alt="-"/>&#160;Public 属性 继承自 <a class="el" href="classawtk_1_1_t_style.html">awtk.TStyle</a></td></tr>
<tr class="memitem:ac08aa20ab5208d97816dcd57b0cbac4a inherit pub_attribs_classawtk_1_1_t_style"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_style.html#ac08aa20ab5208d97816dcd57b0cbac4a">nativeObj</a></td></tr>
<tr class="separator:ac08aa20ab5208d97816dcd57b0cbac4a inherit pub_attribs_classawtk_1_1_t_style"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>可变的style(可实时修改并生效，主要用于在designer中被编辑的控件，或者一些特殊控件)。</p>
<p>style_mutable也对style_const进行了包装，当用户没修改某个值时，便从style_const中获取。 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a4ac388b43a12e74d7e9e22a245c8828a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ac388b43a12e74d7e9e22a245c8828a">&#9670;&nbsp;</a></span>TStyleMutable()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">awtk.TStyleMutable.TStyleMutable </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>nativeObj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>通过nativeObj构造Java对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nativeObj</td><td>原生对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的Java对象。 </dd></dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a18f50b15fdd56ab0c52cff05cdc720d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a18f50b15fdd56ab0c52cff05cdc720d2">&#9670;&nbsp;</a></span>cast() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_style_mutable.html">TStyleMutable</a> awtk.TStyleMutable.cast </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>nativeObj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>把nativeObj转换层Java对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nativeObj</td><td>原生对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的Java对象。 </dd></dl>

<p>重载 <a class="el" href="classawtk_1_1_t_style.html#a34520ac7298b84e510d89514dd8c23f0">awtk.TStyle</a> .</p>

</div>
</div>
<a id="a488343bf89aea803abcd23a40bc9866f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a488343bf89aea803abcd23a40bc9866f">&#9670;&nbsp;</a></span>cast() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_style_mutable.html">TStyleMutable</a> awtk.TStyleMutable.cast </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classawtk_1_1_t_style.html">TStyle</a>&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>转换为style_mutable对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">s</td><td>style对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>style对象。 </dd></dl>

</div>
</div>
<a id="a5985f878519aaddb754e0bcf2dab47a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5985f878519aaddb754e0bcf2dab47a1">&#9670;&nbsp;</a></span>create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_style.html">TStyle</a> awtk.TStyleMutable.create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classawtk_1_1_t_style.html">TStyle</a>&#160;</td>
          <td class="paramname"><em>default_style</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建style_mutable对象。</p>
<blockquote class="doxtable">
<p>除了测试程序外不需要直接调用，widget会通过style_factory_create创建。 </p>
</blockquote>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">default_style</td><td>缺省的style。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>style对象。 </dd></dl>

</div>
</div>
<a id="a4638378c769b3ee6ee406f5a76374ed5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4638378c769b3ee6ee406f5a76374ed5">&#9670;&nbsp;</a></span>getName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TStyleMutable.getName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>名称。 </p>

</div>
</div>
<a id="a4c8b4ac0b78822bff01a89a91d96c200"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c8b4ac0b78822bff01a89a91d96c200">&#9670;&nbsp;</a></span>setInt()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TStyleMutable.setInt </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>val</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置指定名称整数格式的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">state</td><td>控件状态。 </td></tr>
    <tr><td class="paramname">name</td><td>属性名。 </td></tr>
    <tr><td class="paramname">val</td><td>值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a4717a4ade176803fc95a4527be956412"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4717a4ade176803fc95a4527be956412">&#9670;&nbsp;</a></span>setName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TStyleMutable.setName </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置style的名称。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>名称。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/TStyleMutable.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
